try {
	Type.registerNamespace('MaterialVO');

	//基础档案-物料VO
	MaterialVO = function() {};
	MaterialVO.prototype = new NCMMPubUtil.SuperVO();
	//物料主键
	MaterialVO.PKMATERIAL = {
		name: "pk_material",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料编码
	MaterialVO.CODE = {
		name: "code",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料名称
	MaterialVO.NAME = {
		name: "name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//版本号
	MaterialVO.VERSION = {
		name: "version",
		type: NCMMPubUtil.VALUE_TYPE_INTEGER
	};
	//规格
	MaterialVO.MATERIALSPEC = {
		name: "materialspec",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//型号
	MaterialVO.MATERIALTYPE = {
		name: "materialtype",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//图号
	MaterialVO.GRAPHID = {
		name: "graphid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//条形码
	MaterialVO.MATERIALBARCODE = {
		name: "materialbarcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//助记码
	MaterialVO.MATERIALMNECODE = {
		name: "materialmnecode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	MaterialVO.prototype.getAllAttrs = function() {
		return [MaterialVO.PKMATERIAL,
			MaterialVO.CODE,
			MaterialVO.NAME,
			MaterialVO.VERSION,
			MaterialVO.MATERIALSPEC,
			MaterialVO.MATERIALTYPE,
			MaterialVO.GRAPHID,
			MaterialVO.MATERIALBARCODE,
			MaterialVO.MATERIALMNECODE
		];
	};
	MaterialVO.prototype.getTableName = function() {
		return "app_bd_material";
	};
	MaterialVO.prototype.getPrimaryAttr = function() {
		return MaterialVO.PKMATERIAL;
	};
} catch(e) {
	$e(e);
}